INCLUDE = -I../include
FLAGS	= -g -O0

LIBRARY_SRC = tcp_acceptor.cpp tcp_connection.cpp
LIBRARY_OBJ = $(LIBRARY_SRC:.cpp=.o)
LIBRARY_TARGET = ../libeventpp.a

.SUFFIXES: .o .cpp
.cpp.o:
	$(CXX) $(FLAGS) $(INCLUDE) -c -o $@ $<

all: $(LIBRARY_TARGET)

$(LIBRARY_TARGET): $(LIBRARY_OBJ)
	$(AR) rcs $@ $^

install:
	
clean:
	rm $(LIBRARY_TARGET) $(LIBRARY_OBJ)
